import {
    get,
    post
} from '../utils/request.js';

/* 首页 */
/* 客户统计 */
export const getCustDM = (params) => get('/customer/index/getKhStatistics',params);
/* 放款统计 */
export const fkTj = (params) => get('/customer/index/fkTj',params);
/* 预警信息 */
export const yjxxTj = (params) => get('/customer/index/yjxxTj',params);
/* 授权信息 */
export const sqxx = (params) => get('/customer/index/sqxx',params);

/* 头部四标签 */
export const zxSign = (params) => get('/customer/zxdz/zxSign',params);
/* 企业授权趋势 */
export const qySqqs = (params) => get('/customer/zxdz/qySqqs',params);
/* 企业画像查询次数 */
export const hxcxQs = (params) => get('/customer/zxdz/hxcxQs',params);
/* 入驻金融机构 */
export const rzjgTu = (params) => get('/customer/zxdz/rzjgTu',params);

/*金融风控分析*/
/*信贷基本面*/
export const getBasics = (params) => get('/customer/index/getBasics',params);
export const getBasicsTime = (params) => get('/customer/index/getBasicsTime',params);

/* 不良贷款风险 */
export const getBadBasics = (params) => get('/customer/index/getBadBasics',params);
export const getBadBasicsTime = (params) => get('/customer/index/getBadBasicsTime',params);

/* 融资担保 */
export const getDanbao = (params) => get('/customer/index/getDanBaoInfo',params);
export const getMutualInfo = (params) => get('/customer/index/getMutualInfo',params);

/* 风控明细 */
export const getBadMsg = (params) => get('/customer/index/getBadInfo',params);
export const getBadMsgInfo = (params) => get('/customer/index/getCoDetail',params);
